<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<th:block th:replace="include :: header('用户列表')"/>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space10">
        <div class="layui-col-xs3 layui-col-lg3">

            <fieldset class="layui-elem-field">
                <legend>部门</legend>
                <div class="layui-field-box">
                    <div id="orgTree"></div>
                </div>
            </fieldset>
        </div>

        <div class="layui-col-xs9 layui-col-lg9">

            <table class="layui-hide" id="userList" lay-filter="userList"></table>

            <script type="text/html" id="toolbarUser">

                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input searchValue" placeholder="请输入用户名" id="searchValue" />
                    </div>
                    <button class="layui-btn layui-btn-sm" lay-event="search">搜索</button>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-sm" lay-event="addUser">添加用户</button>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delBatchBtn">批量删除</button>
                </div>

            </script>

            <script type="text/html" id="barUser">
                <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>
        </div>
    </div>
</div>

<th:block th:insert="include :: footer-js"/>
<script type="text/javascript" th:src="@{/js/system/user/user.js}"></script>
</body>
</html>